// router/index.js
import { createRouter, createWebHistory } from 'vue-router'
import Home from '../components/Home.vue'
import SuccessUI from '../components/SuccessUI.vue'

const routes = [
  {
    path: '/',
    component: Home
  },
  {
    path: '/success',
    component: SuccessUI
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router